Component({
  /**
   * 组件的属性列表
   */
  properties: {

  },

  /**
   * 组件的初始数据
   */
  data: {
    active: 0,
    currentTab: 0,
    productList:[
      {
        imgUrl:"../../../static/images/fruit1.png",
        title:"雪松瘦身2卷卫生纸1雪松瘦身2卷卫生纸1雪松瘦身2卷卫生纸1雪松瘦身2卷卫生纸1雪松瘦身2卷卫生纸1",
        exchange: 321,
        integral: 49.9,
        price:78
      },
      {
        imgUrl:"../../../static/images/fruit2.png",
        title:"雪松瘦身2卷卫生纸2",
        exchange: 321,
        integral: 49.9,
        price:78
      },
      {
        imgUrl:"../../../static/images/fruit1.png",
        title:"雪松瘦身2卷卫生纸1",
        exchange: 321,
        integral: 49.9,
        price:78
      },
      {
        imgUrl:"../../../static/images/fruit2.png",
        title:"雪松瘦身2卷卫生纸2",
        exchange: 321,
        integral: 49.9,
        price:78
      }
    ]
  },

  /**
   * 组件的方法列表
   */
  methods: {
    swiperChangeHandler(e){
  
    },
    onChange(e){
      console.log(e.detail.index)
    },
  }
})
